package com.hk.service.product.impl;

import org.springframework.stereotype.Service;

import com.hk.commons.LongId;
import com.hk.commons.entity.product.OverseaSafeInfo;
import com.hk.dao.base.impl.BaseServiceImpl;
import com.hk.service.product.IOverseaSafeInfo;


@Service
public class OverseaSafeInfoImpl extends BaseServiceImpl<OverseaSafeInfo> implements IOverseaSafeInfo{
	
	@Override
	public OverseaSafeInfo findById(long id) {
		
		return getById(id);
	}

	@Override
	public Long add(OverseaSafeInfo u) {
		Long id = LongId.get();
		u.setId(id);
		return (Long) super.save(u);
	}
	
}
